#include <stdio.h>

#include <ZLog.h>
#include <YuvIoctl.h>

YuvIoT *YuvIoInstance_NV21(char *file, int picW, int picH, int datW, int datH);

YuvIoT *YuvIoInstance(char *file, int picW, int picH, int datW, int datH, 
                    enum YuvPlanarE planar)
{
    YuvIoT *yuv = NULL;
    if (planar == YUV_PLANAR_NV21)
    {
        yuv = YuvIoInstance_NV21(file, picW, picH, datW, datH);
        
    }
    else
    {
        Z_LOG_ASSERT(0, "planar: '%d' not support now", planar);
    }

    return yuv;
}

